body {
    margin: 0;
		 
}
:root {
  --main-color: green;
}
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--main-color);
}

.galeria{margin-top:50px;
        width:80%;
      	display: flex;
		justify-content: space-around;
		flex-wrap:wrap;
		
}
.photo{
      margin: 10px 0;
			width:300px;
			background: #ffffff;
			padding:8px;
			opacity: 1;
			border-radius:5px;
			border:2px solid var(--main-color);
			box-sizing: border-box;
			
			display: flex;
			justify-content: space-around;
			flex-wrap:wrap;
			transform: rotate(5deg);
			transition: 0,3s all ease-in-out;
}
.photo img {
      width:280px;
			
}
.photo figcaption {
      margin-top: 10px;
			color: var(--main-color);
}

.photo:nth-child(even){
     transform: rotate(-2deg) scale(0.8) ;
}
.photo:hover{
     opacity: 1;
		 transition: 0.5s all ease-in-out;
		 transform: scale(1.4) ;
		 z-index: 10;
}
.back{
	color:var(--main-color);
	 text-decoration: none;
	 font-size:22px;
}
.back:hover{
	color:#1f3d2b;
}
.button1 {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  
}
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 45px;
  height: 45px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--main-color);
  color: white;
  text-decoration: none;
  font-size: 22px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.2s;
}

.scroll-top:hover {
  transform: translateY(-3px);
}
